#include "ros/ros.h"
#include "std_msgs/String.h"
#include "std_msgs/Float64MultiArray.h"

void chatterCallback(const std_msgs::Float64MultiArray::ConstPtr& msg)
{
  ROS_INFO("I heard: ");
  std::cout << "x " << msg->data[0] << " y " << msg->data[1] << std::endl;
}

int main(int argc, char **argv)
{
  ros::init(argc, argv, "listener");

  ros::NodeHandle n;

  ros::Subscriber sub = n.subscribe("/image_converter/output_video", 100, chatterCallback);
  
  ros::spin();

  return 0;
}
